home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group95b.txt
/
000021_icon-group-sender _Mon May 22 20:38:50 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-09-18
|
5KB
Received: by cheltenham.cs.arizona.edu; Tue, 23 May 1995 08:52:35 MST
To: icon-group-l@cs.arizona.edu
Date: 22 May 1995 20:38:50 GMT
From: Rick Riolo <rlriolo@umich.edu>
Message-Id: <3pqsor$4fd@controversy.admin.lsa.umich.edu>
Organization: Program for Study of Complex Systems (PSCS)
Sender: icon-group-request@cs.arizona.edu
Subject: (no subject)
Errors-To: icon-group-errors@cs.arizona.edu
I am having a problem compiling with iconc (sometimes...).
The uncompiled version of this app goes thru icont and runs
just fine on my hp.
This same app also compiles under a sun/os using sun's cc.
But on my hpux 9.05 (715/100,64M-RAM) system, its failing as follwos:
maria-rlr)time iconc -fa -p'-v' regress ../gpmain
Translating to C:
regress.icn:
./gpmain.icn:
/s/users/rlr/GRASS/Icon/icon-gp-0.7/pop.icn:
/s/users/rlr/GRASS/Icon/icon-gp-0.7/prog.icn:
/s/users/rlr/GRASS/Icon/icon-gp-0.7/lang.icn:
/s/users/rlr/GRASS/Icon/icon-gp-0.7/src.icn:
/s/users/rlr/GRASS/Icon/icon-gp-0.7/rand.icn:
/s/users/rlr/GRASS/Icon/icon-gp-0.7/Libes/adt_wl.icn:
/s/users/rlr/GRASS/Icon/icon-gp-0.7/params.icn:
/s/users/rlr/GRASS/Icon/icon-gp-0.7/fc.icn:
/s/users/rlr/GRASS/Icon/icon-gp-0.7/profile.icn:
/s/users/rlr/GRASS/Icon/icon-gp-0.7/Grammar/cfrule.icn:
/s/users/rlr/GRASS/Icon/icon-gp-0.7/Grammar/lex.icn:
/usr/local/Icon/ipl/procs/options.icn:
/usr/local/Icon/ipl/procs/printf.icn:
/s/users/rlr/GRASS/Icon/icon-gp-0.7/Grammar/cfnet.icn:
/s/users/rlr/GRASS/Icon/icon-gp-0.7/Libes/adt_str.icn:
/s/users/rlr/GRASS/Icon/icon-gp-0.7/Grammar/cfnode.icn:
No errors; no warnings
Compiling and linking C code:
*** C compile and link failed ***
175.34u 1.20s 2:57.44 99.4%
maria-rlr)
The -v'-p' to the hp's cc is supposed to have it
emit verbose messages about what its doing. As you can
see, there was no useful messages when it failed.
I have iconc -c and the files are:
-rw-rw-r-- 1 rlr appl 957232 May 12 08:50 regress-x.c
-rw-rw-r-- 1 rlr appl 123207 May 12 08:50 regress-x.h
(the regress-x.* is just me putting them on the side...)
Pretty big (by icon scales, I don't know if that is big or not,
being an icon newbie).
I have plenty of filespace (3G) in the cwd and in /tmp and /usr/tmp .
A further complication:
Once time when I did this same command, it successfully compiled!
No changes to the source, just ran iconc again.
That time the -p'-v' did emit messages from hp's cc&friends.
(So maybe I can use those commands to see what's going on...)
that suggests some resource-dependent problem, varying
with when I try to to the iconc. maybe...but which resource?
(also, I'm the only one using it...)
A few questions:
- is there any way I can get iconc to tell me what
cc and ld &etc commands its emitting (when it fails)?
- is there any way to get better messages?
(i tried the -v4 on the iconc above, but that
seems only to increase verbosity of icn->c part.
- by default iconc was made to use hp's cc.
I have gcc. Is there a way (short of remake of iconc)
to tell iconc to use gcc instead of cc?
and
- Any ideas what might be causing this?
eg maybe hp's cc is croaking on the big .c/.h files?
(I looked thru man cc, but didn't see anything...but
its long of course and I could have missed something)
thanks for any advice you can give.
- r
---------------------
An addendum:
I tried an iconc -c and got the classify.c/.h files
as mentioned before. (last time I did regress:
classify is a similar app...differs by one file...
that has been having the same iconc problem.)
then I use cpp,ccom and ld commands I got the one
time iconc -fa -p'-v' regress ../gpmain worked
(modified to compile classify):
maria-rlr)/lib/cpp classify.c /tmp/x -$ -D__hp9000s700 -D__hp9000s800
-D__hppa -D__hpux -D__unix -D_PA_ RISC1_1
maria-rlr)dir /tmp/x
-rw-rw-r-- 1 rlr appl 1266167 May 12 14:02 /tmp/x
maria-rlr)/lib/ccom /tmp/x classify.o
-Oq00,al,ag,cn,Lm,sz,Ic,vo,lc,mf,Po,es,rs,sp,in,pi,fa,pe,Rr,Fl! -Ac
maria-rlr)dir classify.o /tmp/x
-rw-rw-r-- 1 rlr appl 1266167 May 12 14:02 /tmp/x
-rw-rw-r-- 1 rlr appl 623972 May 12 14:02 classify.o
maria-rlr)/bin/ld /lib/crt0.o -u main -Fb /usr/lib/uccom
-L/usr/lib/X11R5 -L/lib -o classify classify.o /usr/local/Icon/bin/rt.a
-L/usr/local/Icon/bin/ -lXpm -lX11 -lm -lc
maria-rlr)dir classify
-rwxrwxr-x 1 rlr appl 1085440 May 12 14:03 classify
maria-rlr)
(some of the odd wrapping is just my mailer...
I haven't looked at all the pars its sending to the cc parts...
some look odd, eg -D__hp9000s700 -D__hp9000s800 but I don't
know the hp cc compiler that well...)
At any rate,
as you can see, the cpp output is in /tmp/x.
There are no errors at any step, and when all
is done, the compiled classify runs!
I then immediately tried
iconc -fa classify ../gpmain
and it fails again, with the same old (non-)message:
..
No errors; no warnings
Compiling and linking C code:
*** C compile and link failed ***
maria-rlr)
So....I am further puzzled by it all.
thanks for any suggested steps to take to
figure out what's going on.
-r
--
Rick Riolo rlriolo@umich.edu
Program for Study of Complex Systems (PSCS)
1071 Randall Lab University of Michigan
Ann Arbor MI 48109-1120